package com.ruoyi.common.enums.comlbs;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 描述 设备自检结果枚举类
 * 作者 ZhangPing
 * 创建时间 2023/9/5 11:30
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
public enum SelfCheckResultEnum {

    NO_CHECK(900, "未自检"),
    PASS(901, "自检通过"),
    OFFLINE(902, "设备离线"),
    UNKNOWN(903, "设备异常，原因未知"),
    NOT_CONNECT_GATEWAY(999, "设备未连接网关"),
    BD_ERROR(2, "北斗定位模块异常"),
    GNSS_NOT_CONNECTED(4, "GNSS 天线未接或被剪断"),
    GNSS_ERROR(5, "GNSS 模块发生故障"),
    GNSS_SHORT_CIRCUIT(6, " GNSS 天线短路"),
    POWER_LOW_VOLTAGE(7, "终端主电源欠压"),
    POWER_DOWN(8, "终端主电源掉电"),
    CAMERA_ERROR(11, "摄像头故障"),
    VIDEO_LOSS(244, "视频信号丢失"),
    VIDEO_BLOCK(245, "视频信号遮挡"),
    STORAGE_ERROR(246, "存储单元故障"),
    ;


    private int code;
    private String text;
}
